package com.growthsee.rider.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 借款信息
 * </p>
 *
 * @author csy
 * @since 2021-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RiderLoanInfo对象", description="借款信息")
public class RiderLoanInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "身份证号码")
    private String idCardNo;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "二类户卡号")
    private String acctCard;


    @ApiModelProperty(value = "购车时间")
    private Date buyTime;

    @ApiModelProperty(value = "贷款状态{1.正常，2.贷款结清，3贷款逾期}")
    private Integer stat;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    //================新加字段=====================//
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "是否成功授信{0-成功；1-失败}")
    private  Integer creditStat;
    @ApiModelProperty(value = "是否放款成功{0-成功；1-失败}")
    private  Integer loanStat;
    @ApiModelProperty(value = "放款状态")
    private  String loanDate;
    @ApiModelProperty(value = "总金额（元）")
    private BigDecimal totalAmt;
    @ApiModelProperty(value = "还款期数")
    private String loanPeriods;
    @ApiModelProperty(value = "剩余期数")
    private String noClearPeriods;
    @ApiModelProperty(value = "渠道商名称")
    private String channelMerName;
    @ApiModelProperty(value = "借据编号(多个编号逗号分隔)")
    private String loanNos;

}
